<?php
namespace Pay\Model;
use Think\Model;
class FalowWaterModel extends Model
{
    protected $trueTableName = 'falow_water';
    protected $connection = array(
        'db_type'  => 'mysql',
        'db_user'  => 'root',
        'db_pwd'   => 'root',
        'db_host'  => '123.57.137.103',
        'db_port'  => '3306',
        'db_name'  => 'vruser',
        'db_charset' =>'utf8',
    );
	protected $_validate = array(
		//array(验证字段,验证规则,错误提示,验证条件,附加规则,验证时间)
	);
	
	
	protected function _before_write(&$data) {
		parent::_before_write($data);
		
	}
	
}

